import {connect} from 'react-redux'
import Login from '../../../components/mine/login/index'
import {logsubMit} from "../../../action/index"

const mapStateToProps=state=>{
    return{
        big:state.reducer.Logins
    }
}

const mapDispatchTopProps=dispatch=>{
    return{
        loginSubmit(num){
           logsubMit(num,dispatch)
        }
    }
}

export default connect(mapStateToProps,mapDispatchTopProps)(Login)